package theUseOfArrays;

/**
 * @ClassName ArrayIndexOutOfBoundsException
 * @Description 数组下标越界异常
 * @Author 李明忠
 * @Date 2025/5/24 19:00
 * @Version 1.0
 */
public class ArrayIndexOutOfBoundsException {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5};
        int num = arr[5];//运行时出现异常

    }
}
